package main

import "fmt"

func main() {
	a := []int{10, 20, 30, 40, 50}
	b := a[1:3:5]
	fmt.Println(a, b)
	fmt.Printf("len(b)=%d cap(b)=%d\n", len(b), cap(b))
}
